package com.example.test06thread.test.synch;

public class DeadLock {
    static Integer i = new Integer(1);
    public static void main(String[] args) {
        DeadLock deadLock = new DeadLock();
        deadLock.t1();
    }

    public void t1(){
        synchronized (i){
            //monitorenter 会判断this是不是自己
            synchronized (i){
            }
        }
    }
}
